package com.zhao.dao;

import com.zhao.pojo.TradeRecords;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TradeRecordsDao {
    int add(TradeRecords tradeRecords);
    List<TradeRecords> findByUniversityID(String universityID);
    List<TradeRecords> findByPayerID(String payerID,String universityID);
    List<TradeRecords> findByReceiverID(String receiverID,String universityID);
    List<TradeRecords> findByStudentID(String studentID,String universityID);
    int deleteOne(String orderFormID,String payerID,String receiverID ,String universityID);

}
